{extend name="common/base" }

{block name="content"}
<div class="am-g">
	<div class="am-u-sm-12">
		<form class="am-form ajax-form" method="post" action="{:url('add')}">
			
			{$widget->form('text', ['title' => '配置名称', 'name' => 'config_name', 'value' => ''])}
			
			{$widget->form('text', ['title' => '配置标题', 'name' => 'config_title', 'value' => ''])}
			
			{$widget->form('select', ['title' => '配置类型', 'name' => 'config_type', 'value' => '', 'list' => $select_config_type])}
			
			{$widget->form('select', ['title' => '配置分组', 'name' => 'config_gid', 'value' => '', 'list' => $select_config_group])}
			
			{$widget->form('text', ['title' => '配置排序', 'name' => 'config_sort', 'value' => '0'])}
			
			{$widget->form('textarea', ['title' => '额外配置', 'name' => 'config_extra', 'value' => ''])}
			
			{$widget->form('textarea', ['title' => '配置说明', 'name' => 'config_remark', 'value' => ''])}
			
			{$widget->form('submit', ['title' => '用户操作'])}
			
		</form>
	</div>
</div>
{/block}